import request from '@/utils/request'

//查询业务主题下拉
export function queryThemeTypeList(query) {
  return request({
      url: '/gzzxjg/theme/combo',
      method: 'get',
      params: query
  })
}

//查询采集周期下拉
export function queryPeriodList(query) {
  return request({
    url: '/gzzxjg/periodType/combo',
    method: 'get',
    params: query
  })
}

//查询表期中的年份
export function queryPeriodYear(query) {
  return request({
    url: '',
    method: 'get',
    params: query
  })
}

// 查询表期
export function getPeriodInfoByType(query) {
  return request({
    url: '/gzzxjg/periodInfo/getPeriodInfoByType',
    method: 'get',
    params: query
  })
}

// 查询组织机构
export function getListDeptAndOrg() {
  return request({
    url: '/system/dept/listDeptAndOrg',
    method: 'get'
  })
}
